package com.todod.model;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author dyl
 * @date 2022-08-17
 */
@TableName("LTCLOUD_ZSGL_DB_DEV.system_value")
public class SystemValue {
	/** 主键 */
	@TableId("sv_id")
	private Long id;
	/** 编码 */
	@TableField("sv_code")
	private String code;
	/** 名称 */
	@TableField("sv_name")
	private String name;
	/** 状态 */
	@TableField("sv_state")
	private String status;
	/** 值 */
	@TableField("sv_value")
	private String value;
	/** 创建时间 */
	@TableField("sv_create_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;
	/** 创建用户id */
	@TableField("sv_create_user_id")
	private Long createUserId;
	/** 修改时间 */
	@TableField("sv_modify_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime modifyTime;
	/** 修改用户名id */
	@TableField("sv_modify_user_id")
	private Long modifyUserId;
	/** 抽取批次号 */
	@TableField("sv_get_batch")
	private String getBatch;
	/** 抽取标志位 */
	@TableField("sv_get_flag")
	private String getFlag;

	@TableField(exist = false) // 表示该属性在数据表里不存在
	private String createUserName;// 创建用户

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public LocalDateTime getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(LocalDateTime modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Long getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(Long modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	public String getGetBatch() {
		return getBatch;
	}

	public void setGetBatch(String getBatch) {
		this.getBatch = getBatch;
	}

	public String getGetFlag() {
		return getFlag;
	}

	public void setGetFlag(String getFlag) {
		this.getFlag = getFlag;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	@Override
	public String toString() {
		return "SystemValue [id=" + id + ", code=" + code + ", name=" + name + ", status=" + status + ", value=" + value
				+ ", createTime=" + createTime + ", createUserId=" + createUserId + ", modifyTime=" + modifyTime
				+ ", modifyUserId=" + modifyUserId + ", getBatch=" + getBatch + ", getFlag=" + getFlag + "]";
	}

}
